<?php
require_once 'includes/haut.php';
acces($niveau,1);
header("Content-Type: text/plain");

$idC = (isset($_POST["idC"])) ? htmlentities($_POST["idC"]) : NULL;
$tarif = (isset($_POST["tarif"])) ? htmlentities($_POST["tarif"]) : NULL;
$prix = (isset($_POST["prix"])) ? htmlentities($_POST["prix"]) : NULL;

if($idC && $tarif && $prix) {
	echo categorie::modifPrix($idC, $tarif, $prix);
}
?>